Skip to main content

unreadMessages

Number of unread messages for the user

GraphQL Schema

extend type query {
"""Number of unread messages for the user"""
unreadMessages(userId: ID!): Int
}

Arguments

NameTypeDescription
userIdID!Unique ID of the user

Response Shape

This query returns Int

NameTypeDescription